package org.jeecg.modules.htxincailiao.support.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.htxincailiao.support.entity.HTCustomerSupport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: ht_customer_support
 * @Author: jeecg-boot
 * @Date:   2023-03-18 17:45:51
 * @Version: V1.0
 */
public interface HTCustomerSupportMapper extends BaseMapper<HTCustomerSupport> {


    @Select("<script>" +
            "SELECT * FROM ht_customer_support WHERE shop_id=#{shopId}" +
            "</script>")
    HTCustomerSupport queryByShopId(@Param("shopId") String shopId);


    @Select("<script>" +
            "SELECT * FROM ht_customer_support WHERE sys_user_id=#{sysUserId}" +
            "</script>")
    HTCustomerSupport queryBySysUserId(@Param("sysUserId") String sysUserId);

}
